package test.org.dbstar.scheduler;

import org.dbstar.scheduler.identifier.DefaultIdentifierFactory;
import org.dbstar.scheduler.identifier.IdentifierFactory;

/**
 * 提供调度系统中常用的类
 * 
 * @author 代波
 * @since 1.0.0
 * @version 1.0.0
 * @date 2012-4-24
 */
public abstract class SchedulerTestCase extends JdbcTemplateTestCase {
	protected IdentifierFactory identifierFactory;

	@Override
	protected void setUp() throws Exception {
		super.setUp();
		this.identifierFactory = new DefaultIdentifierFactory("yyyyMMddHHmmss", 8);
	}

	@Override
	protected void tearDown() throws Exception {
		this.identifierFactory = null;
		super.tearDown();
	}
}
